package cn.tedu.appointment.work.pojo.vo;

import cn.tedu.appointment.accounts.pojo.vo.StaffVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class ApplicationVO {
    @ApiModelProperty(value = "申请编号")
    private Long  id;
    @ApiModelProperty(value = "员工编号")
    private Long  staffId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;
    @ApiModelProperty(value = "请假状态")
    private String status;
    @ApiModelProperty(value = "请假原因")
    private String reason;
    @ApiModelProperty(value = "反驳原因")
    private String rejectReason;
    @ApiModelProperty(value = "申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    @ApiModelProperty(value = "员工对象")
    private StaffVO staffVO;
}
